package cn.edu.cug.cs.gtl.apis.ui.tree;

import javax.swing.*;
import java.awt.*;

public class TreeNodePanel extends JPanel{
    public final JLabel label = new JLabel();
    public final JCheckBox check = new JCheckBox();

    public Object refObject=null;

    public TreeNodePanel() {
        this.check.setMargin(new Insets(0, 0, 0, 0));
        setLayout(new BorderLayout());
        add(check, BorderLayout.WEST);
        add(label, BorderLayout.CENTER);
    }
}
